package pl.edu.mimuw.irs.rcp.view.figure;



public class SimulationTransitionShape extends TransitionShape {

	// *** Attributes

	private boolean active;
	public boolean isActive() {
		return active;
	}
	public void setActive(boolean active) {
		this.active = active;
	}
	
	// *** Methods

	@Override
	protected DoubleGradient getDoubleGradient() {
		if (isActive()) {
			return DoubleGradient.GOLD;
		} else {
			return DoubleGradient.SILVER;
		}
	}
}
